package top.codedance.iotp.client.plugins.sync.profibus;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import top.codedance.iotp.client.net.listenner.PluginService;
import top.codedance.iotp.common.entity.PluginResultEntity;
import org.ini4j.Wini;

public class ProfibusService implements PluginService, Runnable {
    private Integer clientId = 0;
    private Wini ini = null;

    public ProfibusService(Integer clientId, Wini ini){
        this.clientId = clientId;
    }

    public static PluginService getInstance(Integer clientId, Wini ini) {
        return new ProfibusService(clientId, ini);
    }

    @Override
    public void init() throws Exception {

    }

    @Override
    public PluginResultEntity execute(JSONArray items) {
        return new PluginResultEntity();
    }

    @Override
    public PluginResultEntity execute(JSONObject jo) {
        return new PluginResultEntity();
    }

    @Override
    public void run() {

    }
}
